<?php $this->load->view("_inc/header_login"); ?>
<script>
    $(document).ready(function(){
        $("#login").validate();
    });
</script>

<div id="login">
	<div id="titulo"><span>Login</span></div>
	<div id="formulario">
	<?=form_open('admin/logar', 'id="login"');?>
		<table>
    	<tr>
    		<td><label>usuario:</label></td>
    		<td><?=form_input('usuario', '', 'class = "required"');?></td>
    	</tr>
    	<tr>
    		<td><label>Senha:</label></td>
    		<td><?=form_password('senha', '', 'class="required" minlength="7"');?></td>
    	</tr>
    	
    	<tr><td><?=form_submit('', 'Entrar');?></td></tr>
    	</table>
	<?=form_close()?>
	</div>
</div>

<?php $this->load->view("_inc/footer"); ?>